
<template>
 <div>
     <isLogin v-if="isLogin"></isLogin>
     <inDex v-else></inDex>
 </div>
</template>
<script>
 import isLogin from './isLogin'
 import inDex from '../login/inDex.vue'
 import { mapState } from "vuex";
 export default {
     components: {
         isLogin, inDex
     },
     computed: {
         ...mapState(['isLogin'])
     }
 }
</script>
